package pl.edu.agh.ssm.monitor.data;

public class ReceiverReportInfo {

	private float packagesLostFraction;
	private long packagesLostTotal;
	private long lastPackageReceivedStamp;
	private long jitter;
	private long LastSRRecvNTPTimeStamp;
	private long TimeFromLastSRRecv;
	
	
	public float getPackagesLostFraction() {
		return packagesLostFraction;
	}
	public void setPackagesLostFraction(float packagesLostFraction) {
		this.packagesLostFraction = packagesLostFraction;
	}
	
	public void setPackagesLostFraction(int packagesLostFraction) {
		this.packagesLostFraction = ((float)packagesLostFraction) / 256;
	}
	
	public long getPackagesLostTotal() {
		return packagesLostTotal;
	}
	public void setPackagesLostTotal(long packagesLostTotal) {
		this.packagesLostTotal = packagesLostTotal;
	}
	public long getLastPackageReceivedStamp() {
		return lastPackageReceivedStamp;
	}
	public void setLastPackageReceivedStamp(long lastPackageReceivedStamp) {
		this.lastPackageReceivedStamp = lastPackageReceivedStamp;
	}
	public long getJitter() {
		return jitter;
	}
	public void setJitter(long jitter) {
		this.jitter = jitter;
	}
	public long getLastSRRecvNTPTimeStamp() {
		return LastSRRecvNTPTimeStamp;
	}
	public void setLastSRRecvNTPTimeStamp(long lastSRRecvNTPTimeStamp) {
		LastSRRecvNTPTimeStamp = lastSRRecvNTPTimeStamp;
	}
	public long getTimeFromLastSRRecv() {
		return TimeFromLastSRRecv;
	}
	public void setTimeFromLastSRRecv(long timeFromLastSRRecv) {
		TimeFromLastSRRecv = timeFromLastSRRecv;
	}
	
	
	
}
